import com.ynny.practice11.bean.Users;
import com.ynny.practice11.service.ILgoin;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:applicationContext.xml")
public class test {
    @Qualifier("lgoinImpl")
    @Autowired
    ILgoin lgoin;
    @Test
    public void test(){
        //  Boolean flag = lgoin.login("11015", "654321");
        Boolean flag2 = lgoin.login("20220102001", "123456");

        //   System.out.println(flag);
        System.out.println(flag2);
    }
}